// Author     : Leo King
// CreateDate : 2014/6/3 10:44:01
// CopyRight  : CopyRight @lktec 2013~2015
// Site       : http://www.lktec.cn
// Version    : 1.0.0.1

using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using System.Xml.Serialization;

namespace yc.Dal
{
	/// <summary>
	/// 工作经历
	/// </summary>
	public partial class SysClientWorking
	{
		#region 初始化
		public SysClientWorking()
		{
		}
		#endregion

		#region 基本属性

		/// <summary>
		/// 系统编号
		/// </summary>
		[Display(Name = "系统编号")]
		[Key, ScaffoldColumn(false)]
		public long ID { get; set; }

		/// <summary>
		/// 会员编号
		/// </summary>
		[Display(Name = "会员编号")]
		public Nullable<long> CID { get; set; }

		/// <summary>
		/// 年份(从)
		/// </summary>
		[Display(Name = "年份(从)")]
		public Nullable<int> YearFrom { get; set; }

		/// <summary>
		/// 月份(从)
		/// </summary>
		[Display(Name = "月份(从)")]
		public Nullable<int> MonthFrom { get; set; }

		/// <summary>
		/// 年份(到)
		/// </summary>
		[Display(Name = "年份(到)")]
		public Nullable<int> YearTo { get; set; }

		/// <summary>
		/// 月份(到)
		/// </summary>
		[Display(Name = "月份(到)")]
		public Nullable<int> MonthTo { get; set; }

		/// <summary>
		/// 单位名称
		/// </summary>
		[Display(Name = "单位名称")]
		[StringLength(50, ErrorMessage = "{0}长度不能大于{1}")]
		public string Caption { get; set; }

		/// <summary>
		/// 职位
		/// </summary>
		[Display(Name = "职位")]
		[StringLength(50, ErrorMessage = "{0}长度不能大于{1}")]
		public string Title { get; set; }

		/// <summary>
		/// 工作描述
		/// </summary>
		[Display(Name = "工作描述")]
		[StringLength(500, ErrorMessage = "{0}长度不能大于{1}")]
		public string Description { get; set; }

		#endregion

		#region 复合属性
		/// <summary>
		/// 系统会员
		/// </summary>
		[Display(Name = "系统会员")]
		public virtual SysClient SysClient { set; get; }

		#endregion
	}
}
